<?php

declare(strict_types=1);

namespace App\Fastapp\Model;

use Mine\MineModel;

/**
 * @property int $id 主键
 * @property int $user_id 用户id
 * @property int $level1_num 一层人数
 * @property int $level1_recharge_num 一层充值数
 * @property int $level2_num 前二层人数
 * @property int $level2_recharge_num 前二层充值数
 * @property int $level3_num 前三层人数
 * @property int $level3_recharge_num 前三层充值数
 * @property int $team_num 团队人数
 * @property int $team_recharge_num 团队充值人数
 */
class AccountInviteStatistic extends MineModel
{
    public bool $timestamps = false;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'account_invite_statistics';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'user_id', 'level1_num', 'level1_recharge_num', 'level2_num', 'level2_recharge_num', 'level3_num', 'level3_recharge_num', 'team_num', 'team_recharge_num'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'user_id' => 'integer', 'level1_num' => 'integer', 'level1_recharge_num' => 'integer', 'level2_num' => 'integer', 'level2_recharge_num' => 'integer', 'level3_num' => 'integer', 'level3_recharge_num' => 'integer', 'team_num' => 'integer', 'team_recharge_num' => 'integer'];
}
